package com.ndpmedia.fb.pmd.configration.common;

/**
 * Created by Mikey.zhaopeng on 2014/10/11 16:42.
 * Email mikey.zhao@ndpmedia.com
 */
public class Page {
    private int totalPage;
    private int curPage;
    private int totalSize;
    private int pageSize;

    public Page() {
    }

    public Page(int totalPage, int curPage, int totalSize, int pageSize) {
        this.totalPage = totalPage;
        this.curPage = curPage;
        this.totalSize = totalSize;
        this.pageSize = pageSize;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getCurPage() {
        return curPage;
    }

    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
